package edu.zut.cs.software.estateagent.admin.service.impl;

import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import edu.zut.cs.software.base.service.impl.GenericManagerImpl;
import edu.zut.cs.software.estateagent.admin.dao.AdminDao;
import edu.zut.cs.software.estateagent.admin.domain.Admin;
import edu.zut.cs.software.estateagent.admin.service.AdminManager;

@Component
@Transactional
public class AdminManagerImpl extends GenericManagerImpl<Admin, Long> implements AdminManager {

	AdminDao adminDao;

    @Override
    public Admin findbyUsername(String username) {
        // TODO Auto-generated method stub
        return null;
    }

    @Autowired
    public void setSalemanDao(AdminDao adminDao) {
        this.adminDao = adminDao;
        this.dao = this.adminDao;
    }

}